<!DOCTYPE html>
{% load static %}
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
    <title>谷粒教育密码修改</title>
    <link rel="stylesheet" type="text/css" href="{% static 'static/css/reset.css' %}">
    <link rel="stylesheet" type="text/css" href="{% static 'static/css/animate.css' %}">
    <link rel="stylesheet" type="text/css" href="{% static 'static/css/style.css' %}">

<body>
<div class="wp">
    <div class="resetpassword" id="resetPwdForm">
        <h1>修改密码</h1>
        <p>已经通过验证，请设置新密码</p>
        <form id="reset_password_form" action="{% url 'users:user_reset' code %}" method="post">
            {% csrf_token %}
            <ul>
                <li>
                    <span class="">新 密 码 ：</span>
                    <input type="password" name="password" id="pwd" placeholder="6-20位非中文字符">
                    <i></i>
                </li>
                <li>
                    <span class="">确定密码：</span>
                    <input type="password" name="password1" id="repwd" placeholder="6-20位非中文字符">
                    <i></i>
                </li>
                <li class="button">
                    <input type="submit" value="提交">
                </li>
            </ul>
            <p>
                {{ msg }}
                {% for key,err in user_reset_form.errors.items %}
                    {{ err }}
                {% endfor %}
            </p>
        </form>
    </div>
</div>
</body>
</html>